package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *  退款申请
 * </p>
 *
 * @author yl
 * @since 2019-07-09
 */
@Data
@TableName("t_application")
public class TApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("type")
    private String type;

    @TableField("remoney")
    private String remoney;

    @TableField("enclosu")
    private String enclosu;

    @TableField("order_id")
    private String orderId;

    @TableField("remarks")
    private String remarks;

    @TableField("date")
    private Date date;

    //申请人id,为当前登录人id
    @TableField("applicant_id")
    private Long applicantId;

    //关联订货单查询
    private IndentOrder indentOrder;

    /**
     * 字典名称
     */
    private SysDict sysDict;

    @TableField("t_status")
    private int tStatus;

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    @TableField("process_instance_id")
    private String processInstanceId;




    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRemoney() {
        return remoney;
    }

    public void setRemoney(String remoney) {
        this.remoney = remoney;
    }

    public String getEnclosu() {
        return enclosu;
    }

    public void setEnclosu(String enclosu) {
        this.enclosu = enclosu;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public IndentOrder getIndentOrder() {
        return indentOrder;
    }

    public void setIndentOrder(IndentOrder indentOrder) {
        this.indentOrder = indentOrder;
    }

    public Long getApplicantId() {
        return applicantId;
    }

    public void setApplicantId(Long applicantId) {
        this.applicantId = applicantId;
    }

    public SysDict getSysDict() {
        return sysDict;
    }

    public void setSysDict(SysDict sysDict) {
        this.sysDict = sysDict;
    }



    @Override
    public String toString() {
        return "TApplication{" +
                "id=" + id +
                ", type='" + type +
                ", remoney='" + remoney +
                ", enclosu='" + enclosu +
                ", order_id='" + orderId +
                ", remarks='" + remarks +
                ", date='" + date +
                ", indentOrder=" + indentOrder +
                ", sysDict=" + sysDict +
                '}';
    }
}





